import { TdBaseTableProps } from 'tdesign-vue-next';

interface DashboardPanel {
  title: string;
  value: string | number;
}
interface CardItem {
  title: string;
  type: string | number;
  start?: boolean;
}
interface TopCardItem {
  img: number;
  title: string;
  num?: number;
}
interface TendItem {
  growUp?: number;
  productName: string;
  count: number;
  date: string;
}
export const cardList: Array<CardItem> = [
  {
    title: '商周青铜器艺术展商',
    type: 1,
    start: false,
  },
  {
    title: '商周青铜器艺术展商',
    type: 1,
    start: false,
  },
  {
    title: '商周青铜器艺术展商',
    type: 2,
    start: false,
  },
  {
    title: '商周青铜器艺术展商',
    type: 1,
    start: false,
  },
  {
    title: '商周青铜器艺术展商',
    type: 1,
    start: false,
  },
  {
    title: '商周青铜器艺术展商',
    type: 2,
    start: false,
  },
  {
    title: '商周青铜器艺术展商',
    type: 1,
    start: false,
  },
];
export const tabList: Array<DashboardPanel> = [
  {
    title: '最近操作',
    value: 1,
  },
  {
    title: '所有展览',
    value: 2,
  },
];
export const tabList1: Array<DashboardPanel> = [
  {
    title: '展品浏览记录',
    value: 1,
  },
  {
    title: '展览浏览记录',
    value: 2,
  },
];
export const TopCardList: Array<TopCardItem> = [
  {
    img: 1,
    title: '消息',
    num: 9,
  },
  {
    title: '互动',
    num: 99,
    img: 2,
  },
  {
    title: '关注',
    num: 999,
    img: 3,
  },
];
export const BUY_COLUMNS: TdBaseTableProps['columns'] = [
  {
    align: 'left',
    colKey: 'name',
    title: '姓名',
    width: 80,
  },
  {
    align: 'left',
    ellipsis: true,
    colKey: 'phone',
    width: 100,
    title: '手机号',
  },
  {
    align: 'left',
    colKey: 'email',
    width: 120,
    title: '邮箱',
  },
  {
    align: 'center',
    colKey: 'role',
    title: '角色',
    width: 70,
  },
];
export const roleList = [
  {
    name: '吴征',
    phone: '15512341234',
    email: '15512341234@163.com',
    role: 1,
  },
  {
    name: '吴征',
    phone: '15512341234',
    email: '15512341234@163.com',
    role: 2,
  },
  {
    name: '吴征',
    phone: '15512341234',
    email: '15512341234@163.com',
    role: 3,
  },
  {
    name: '吴征',
    phone: '15512341234',
    email: '15512341234@163.com',
    role: 3,
  },
];
